{% extends "base.html" %}
<!-- 页首  here -->
{% block headers %}
{% endblock %}

{% block contend %}

<div class="row">
    <div class="col-xs-12">
        <div class="box">
            <div class="box-header">
                <a class="box-title" href="/user"><b>用户列表</b></a> /
                <a class="box-title" href="/user/add"><b>添加用户</b></a>
            </div>
            <!-- /.box-header -->

            <form class="form-horizontal" method="post">
                <div class="box-body">
                    <div class="form-group">
                        <label class="col-sm-2 control-label">名称</label>

                        <div class="col-sm-10">
                            <input type="text" class="form-control" name="name" placeholder="名称" required>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">邮箱</label>

                        <div class="col-sm-10">
                            <input type="email" class="form-control" name="email" placeholder="邮箱" required>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">密码</label>

                        <div class="col-sm-10">
                            <input type="password" class="form-control" name="passwd" placeholder="密码" required>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-2 control-label">状态</label>
                        <div class="col-sm-10">
                            <label class="control-label">
                            <input type="radio" name="status" value="0" checked>启用
                            <input type="radio" name="status" value="1" >禁用
                        </label>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-2 control-label">权限</label>
                        <div class="col-sm-10">
                            <label class="control-label">
                            <input type="radio" name="qx" value="0" checked>普通
                            <input type="radio" name="qx" value="1" >高级
                        </label>
                        </div>
                    </div>
                     <div class="form-group">
                        <label class="col-sm-2 control-label">激活</label>
                         <div class="col-sm-10">
                            <label class="control-label">
                            <input type="radio" name="is_active" value="1" checked>是
                            <input type="radio" name="is_active" value="0">否
                        </label>
                        </div>
                    </div>


                </div>
                <!-- /.box-body -->
                <div class="box-footer">
                    <a href="/user">
                        <button type="button" class="btn btn-default">取消</button>
                    </a>
                    <button type="submit" class="btn btn-info pull-right">添加</button>
                </div>
                <!-- /.box-footer -->
            </form>
            <!-- /.box-body -->
        </div>
        <!-- /.box -->
    </div>
</div>


{% endblock %}

{% block footerjs %}
<!--<script src="/static/plugins/iCheck/icheck.min.js"></script>-->
{% endblock %}